package com.kbook.dao;

import java.util.List;

import com.kbook.vo.Novel;

public interface NovelDao {
	
	public Novel query(int novelId);
	
	public List<Novel> queryNovelByCategoryId(short categoryId, int from, int to);
	
	public int queryTotal();
	
	public List<Novel> queryNovelByName(String name, int from, int to);
	
	public List<Novel> queryNovelByAuthorName(String authorName, int from ,int to);
	
	public List<Novel> queryNovelByCategoryAndStatus(short categoryId, short status,int from, int to);
}
